package utils;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

public class OptionItem {
	private String value;
	private String label;
	
	private List<OptionItem> children;
	
	public OptionItem(String value, String label) {
		this.value = value;
		this.label = label;
		this.children = new ArrayList<OptionItem>() ;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public Collection<OptionItem> getChildren() {
		return children;
	}

	public void setChildren(List<OptionItem> children) {
		this.children = children;
	}
	
}
